import sympy as sp
from sympy import ln
import math
# 定义符号变量
x = sp.symbols('x')

# 定义函数
f = ln(x**3)

# 计算不定积分
F = sp.integrate(f, x)

print(f"The indefinite integral of {f} is {F}")